package com.shenda.consumer.event;

import com.shenda.api.entity.Gyro;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 陀螺仪事件
 * 
 * @author lifeng
 */
@Setter
@Getter
@Accessors(chain = true)
public class GyroEvent {

	private GyroEventType type;
	private Gyro gyro;

	/**
	 * 类型
	 * 
	 * @author lifeng
	 */
	public enum GyroEventType {
		更新, 檫除, 设置
	}
}
